Repository navigation
feat(pages): add and configure widgets from their server schema - #3214
Open
rubenvdlinde wants to merge 1 commit into
Open
rubenvdlinde wants to merge 1 commit into
rubenvdlinde wants to merge 1 commit into
Conversation
This was referenced Nov 3, 2026
The dialog that adds or configures a widget asks for its type, title, named icon and description. Its settings form is generated from the widget types the server serves, so a new type needs a schema on the server and a renderer here, no new dialog. A data widget picks a table or view of its application. Only types this frontend can show are offered. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Ruben van der Linde <ruben@conduction.nl>
rubenvdlinde
force-pushed
the
feat/noid/grid-widget-editor
branch
from
November 5, 2026 11:59
8c04319 to
fbd83b2
Compare
rubenvdlinde
marked this pull request as ready for review
November 6, 2026 08:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3099, on top of #3213 (grid canvas). The dialog that adds a widget to a grid or configures one, with a settings form generated from the widget types the server serves. #3215 opens it from the edit mode of a page.
Size: 587 lines: 488 code and 99 tests.
What changes
GET /api/2/widget-types: text, long text, choices, a switch and colours. A new widget type needs a schema on the server and a renderer here, no new dialog. Required settings keep Add widget disabled until they're filled.IconFieldpicks a named icon for a form, with a button to clear it; feat(pages): show and edit grid pages of an application #3215 uses it for pages too.How it was tested
AddWidget.cy.js(only types it can show, the form from the server's schema with a required setting, icon and description kept when configuring, a data widget needs a table or view; the test of the offered types fails without the filter) andgridLayout.cy.js(the tables and views of the application)npm run lint,npm run stylelintandnpm run build🖼️ Screenshots
No screen yet: #3215 opens the dialog from a page, its pull request has the screenshots.
🏁 Checklist
/backport to stableX.X🤖 AI (if applicable)